import time
from selenium.webdriver.chrome import webdriver
d=webdriver.WebDriver()
d.get('http://192.168.177.128/user.php')
d.maximize_window()
time.sleep(1)
# dl=d.find_element_by_link_text('登录')
# dl.click()
un=d.find_element_by_name('username')
un.send_keys('老蒯')
mm=d.find_element_by_name('password')
mm.send_keys('123456')
time.sleep(2)
an=d.find_element_by_name('submit')
an.click()
time.sleep(5)